package com.yyy.lambda;

import java.util.function.Supplier;

public class TestSupplier {

    public static void main(String[] args) {
        System.out.println(supplier.get());
    }

    //代表0个输入 1 个输出
    static Supplier<String> supplier = () -> {
        return "hello";
    };
}
